package com.space.client.api;

import com.space.client.dto.ModifyUserInfoCommand;
import com.space.client.dto.UserInfoDTO;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * @author <a href="mailto:414563035@qq.com">Bedroom</a>
 * @date 2021/4/13 5:06 下午
 */
public interface UserInfoServiceI {
    void createUserInfo();

    UserInfoDTO getUserInfo(@NotNull Integer userId);

    void modifyUserInfo(@Valid ModifyUserInfoCommand userInfoDTO);
}
